package com.example.dzdph.service.callback

import android.view.accessibility.AccessibilityEvent
import android.view.accessibility.AccessibilityNodeInfo

class AccessibilityEventWrapper (event : AccessibilityEvent) {
    val raw = event
    val packageName: CharSequence? = event.packageName
    val eventType = event.eventType
    val eventTime = event.eventTime
    val action = event.action
    val isFullScreen = event.isFullScreen
    val className = event.className
    val source = event.source?.let { UiObject(it, getDepth(it), getIndexInParent(it)) }


}